package com.zzw.service.impl;

import com.zzw.api.EmailService;
import org.apache.dubbo.config.annotation.DubboService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 邮箱服务实现类
 *
 * @Author: zhangzhiwei
 * @Date: 2022/4/23 18:01
 */
@DubboService
public class EmailServiceImpl implements EmailService {

    private static final Logger log = LoggerFactory.getLogger(EmailServiceImpl.class);

    @Override
    public void sendEmail(String email, String code) {
        log.info("正在向邮箱发送验证码===>" + code);
    }

}
